<template>
  <div class="home">
    <!-- 全局的三级菜单 -->
    <type-nav />
    <list-container />
    <Recommend />
    <!-- <Rank />
    <Like />
    <Floor />
    <Brand /> -->
  </div>
</template>
<script>
import TypeNav from "@/components/TypeNav";
import ListContainer from "./ListContainer";
import Recommend from "./Recommend";
// import Rank from "./Rank";
// import Like from "./Like";
// import Floor from "./Floor";
// import Brand from "./Brand";

export default {
  name: "Home",
  components: {
    TypeNav,
    ListContainer,
    Recommend,
    // Rank,
    // Like,
    // Brand,
    // Floor,
  },
  activated(){
    this.$store.dispatch("userInfo");
  }
  
};
</script>